package com.tech.connect.activity;

import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.View;
import android.widget.EditText;

import com.tech.connect.R;

public class EditWarningActivity extends BaseActivity {


    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        Intent intent = getIntent();
        String title = intent.getStringExtra("title");
        if (isEmpty(title)) {
            title = "描述";
        }
        getHeadBar().setTitle(title).setRightText("保存", new View.OnClickListener() {
            @Override
            public void onClick(View v) {

            }
        });
        setContentView(R.layout.activity_warning_edit);
        initView();
        loadData();
    }

    private void loadData() {
    }

    private void initView() {
        EditText etContent = findViewById(R.id.etContent);
    }


}
